package com.hxkj.mapper;

import com.hxkj.domain.po.AuthApp;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
* 数据库操作接口
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-05-21 17:59:26
*
*/
@Repository("authAppMapper")
public interface AuthAppMapper {

    /**
    *
    * 根据主键查询AuthApp对象
    *
    * @param appId
    * @return AuthApp对象
    */
    AuthApp selectByPrimaryKey(Long appId);

    /**
    *
    * 根据查询条件查询符合条件的AuthApp对象
    *
    * @param authApp
    * @return 符合条件的AuthApp对象List
    */
    List<AuthApp> select(AuthApp authApp);

    /**
    *
    * 根据主键删除AuthApp对象
    *
    * @param appId
    * @return 影响条件数
    */
    int deleteByPrimaryKey(Long appId);

    /**
    *
    * 根据条件删除符合条件的AuthApp对象
    *
    * @param authApp
    * @return 影响条件数
    */
    int delete(AuthApp authApp);

    /**
    *
    * 插入AuthApp对象
    *
    * @param authApp
    * @return 影响条件数
    */
    int insert(AuthApp authApp);

    /**
    *
    * 更新AuthApp对象
    *
    * @param authApp
    * @return 影响条件数
    */
    int update(AuthApp authApp);

}
